<!--
 * @Description: fieldset
 * @Author: rendc
 * @Date: 2021-08-04 16:27:27
 * @LastEditors: rendc
 * @LastEditTime: 2021-08-04 16:31:55
-->
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>fieldset</title>
</head>

<body>
  <div>
    <form action="" method="get">
      <fieldset>
        <legend>个人信息</legend>
        姓名:<input type="text" name="" id="">
        密码:<input type="password" name="" id="">
      </fieldset>
      <fieldset disabled>
        <legend>家长信息</legend>
        姓名:<input type="text" name="" id="">
        手机号:<input type="password" name="" id="">
      </fieldset>
      <input type="submit" value="提交">
    </form>
  </div>
</body>

</html>